<template lang="html">
  <div class="header-banner">
    <div class="header">
      <div class="img-container">
        <div class="logo-container" @click="toHome">
          <img src="./logo2.png" alt="">
        </div>
        <div id="menu">
          <ul>
            <li>
    					<router-link to="/index/home-page">首页</router-link>
    				</li>
    				<li>
    					<router-link to="/index/about">关于云耐</router-link>
    				</li>
    				<li>
    					<router-link to="/index/server">服务项目</router-link>
    				</li>
    				<li>
    					<router-link to="/index/case-show">案例展示</router-link>
    				</li>
    				<li>
    					<a>招标服务</a>
    					<ul>
                <li>
                  <router-link to="/index/bids/call-bids">招标公告</router-link>
                </li>
    						<li>
    							<router-link to="/index/bids/win-bids">中标公告</router-link>
    						</li>
    					</ul>
    				</li>
    				<li>
    					<router-link to="/index/dynamic-info">动态资讯</router-link>
    				</li>
    				<li>
    					<router-link to="/index/contect-us">联系我们</router-link>
    				</li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
    }
  },
  methods: {
    toHome() {
      this.$router.push('/index/home-page')
    }
  }
}
</script>

<style lang="scss" scoped>
.header-banner {
    padding-bottom: 52px;
    width: 100%;
    background: #fff;
}
.header {
  width: 100%;
  height: 80px;
  background: #fff;
}

.logo-container{
  cursor: pointer;
}

.logo-container img{
  width: 300px;
}
.img-container{
  width: 1200px;
  margin:0 auto;
  height: 100%;
  display: flex;
}
.img-container img{
    padding-top:10px;
    height: 50px;
  }

#menu {
  margin-left: 26px;
  /*width: 810px;*/
  height:42px;
  line-height: 42px;
  display: flex;
  border-radius: 6px;
  margin-top: 25px;
  justify-content: space-around;
  color: #fff;
}

#menu ul {
  display: block;
  width: 100%;
  margin: 0;
  position: relative;
}

#menu ul li {
  list-style-type: none;
  float: left;
  height: 25px;
  width: 120px;
  line-height: 25px;
  text-align: center;
  /*background: #000;*/

}

#menu ul li ul {
  /*display: list-item;*/
  margin: 0;
  position: relative;
  /*right: 40px;*/
  font-size: 12px;
  display: none;
  z-index: 200;
}

#menu ul li a {
  display: block;
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: bold;
}
#menu ul li ul li{
  height: 40px;
  line-height: 40px;
  border-bottom: 1px dashed #fff;
}
#menu ul li ul li a{
  margin-top: 5px;
  background: rgba(0,0,0,0.5);
  color: #fff;
}
#menu ul li:hover {
  /*background: #686868;*/
  color: #000;
  cursor: pointer;
}

#menu ul li:hover ul {
  display: list-item;
}

#menu>ul li a.active{
  color:#20a0ff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#menu>ul li{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
</style>
